
<!doctype html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <base href="/" />
    <title>福建世通数据集成平台</title>
    <link rel="stylesheet" href="bower_components/angular-material/angular-material.min.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic">
    <link rel="stylesheet" href="assets/bootstrap.css">
    <link rel="stylesheet" href="assets/all.css">

    <style>

        #top,
        #bottom {
            position: fixed;
            left: 0;
            right: 0;
            height: 50%;
        }

        #top {
            top: 0;
            background-color: rgb(52,131,186);
        }


        md-content.md-kylo-theme{
            background-color:transparent;
        }

        .md-headline {
            font-size: 30px;
            font-weight: 600;
            line-height: 30px;
            font-family: “Microsoft YaHei” ! important;
        }

        #bottom {
            bottom: 0;
            background-color: #ffffff;
        }

        [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
            display: none !important;
        }

    </style>

</head>
<!-- login.html -->
<body style=" background-image: url(/assets/images/bg.png)">
<div id="main" layout="column" layout-align="center center" layout-fill class="ng-cloak" >

    <md-content layout-fill>

        <div layout-align="center center" flex layout="column" layout-fill>
            <md-card ng-controller="LoginController as vm" md-padding style="width:400px;max-width:400px;z-index: 999999;"  flex="nogrow" md-whiteframe="4">

                <md-card-title layout-align="center center">
                    <span class="md-headline">世通数据集成平台</span>
                </md-card-title>
                <md-card-content>

                    <div ng-show="vm.error" class="alert alert-danger">{{vm.error}}</div>
                    <form name="form" action="/login" role="form" method="post">

                        <br>
                        <br>

                        <div layout="column" flex layout-fill>
                            <div class="form-group login-input">
                                <div class="input-group input-group">
                                        <span class="input-group-addon" >
                                            <i class="ib male"></i>
                                        </span>
                                    <input type="text" name="username" id="username" class="form-control" placeholder="请输入用户名"  ng-model="vm.username" required />
                                </div>
                            </div>
                            <br>
                            <div class="form-group login-input" >
                                <div class="input-group input-group">
                                        <span class="input-group-addon" >
                                            <i class="ib lock"></i>
                                        </span>
                                    <input type="password" name="password" id="password" class="form-control" placeholder="请输入密码" ng-model="vm.password" required />
                                </div>
                            </div>

                            <div class="checkbox">

                            </div>



                            <button class="btn btn-lg btn-primary btn-block" type="submit"  ng-disabled="form.$invalid || vm.dataLoading"   disabled="disabled">
                                <span class="no-ng" ng-hide="isSubmit">登录</span>


                                <i class="ib no-ng loading-icon loading-inverse ng-hide" ng-show="isSubmit"></i>
                            </button>
                        </div>
                        <input type="hidden" name="targetUrl" value="{{vm.targetUrl}}">
                    </form>
                </md-card-content>
            </md-card>
        </div>
    </md-content>
</div>
</body>

<script data-main="login/main.js" src="bower_components/requirejs/require.js"></script>
</html>
